<template>
	<view>
		<!-- <web-view :src="pdfUrl"></web-view> -->
	</view>
</template>

<script>
	export default {
		data() {
			return {
				// pdfUrl:'',
				// from:''
			}
		},
		onLoad(option) {
			/**
			 * 浏览情景
			 */
			
			// 浏览情景1:浏览本地的pdf文件
			// this.pdfUrl = '/hybrid/html/web/viewer.html?file=./compressed.tracemonkey-pldi-09.pdf'
			
			// 浏览情景2:浏览在线的pdf文件
			this.pdfUrl = 'http://113.140.3.134:9100/vbd-minio//'+encodeURIComponent(option.filePath)
		},
		methods: {

		}
	}
</script>

<style>

</style>
